
# 定义数据
num1 = "100"
num2 = "1.99"
# 强制转换
print(type(int(num1)))
# print(type(float(num2)))
# print(type(float(num1)))
info = 12345
# print(type(str(info)))
info1 = [11, "aa", True, 1.88]
print(type(str(info1)))
# print(type(tuple(info1)))
# 转换为集合（集合中元素不能重复：可以去重）
# info2 = [11, 22, 33, 11, 11, 11, 33, 44]
# print(set(info2))
# print(type(set(info2)))